package com.wuzhun.wxmp.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 操作日志表
 * </p>
 *
 * @author Paulin
 * @since 2023-06-13
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("pre_operate_log")
@ApiModel(value = "OperateLog对象", description = "操作日志表")
public class OperateLog extends BaseEntity {

    @ApiModelProperty("用户ID")
    @TableField("uid")
    private Integer uid;

    @ApiModelProperty("请求url")
    @TableField("url")
    private String url;

    @ApiModelProperty("请求参数")
    @TableField("params")
    private String params;

    @ApiModelProperty("请求IP地址")
    @TableField("ip")
    private String ip;

    @ApiModelProperty("返回Code")
    @TableField("return_code")
    private String returnCode;

    @ApiModelProperty("操作时间（年月日）")
    @TableField("request_date")
    private String requestDate;


}
